<?php

namespace app\common\validate;


use think\Validate;
/**
 * 验证器
 */
class  Fuskill extends Validate
{
    protected $rule = [
        ['name', 'require|min:2|unique:fuwu_skill,name', '该技能名称必填|该技能名称最少2位|该技能名称已经存在'],
    ];

    protected $scene = [
        'add' => ['name'],
    ];

}